package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fx
 * @ClassName:ServiceInfoIconParam
 * @Description: 修改服务图标和图文详情的参数类
 * @date 2021/4/14 16:57
 **/

@Data
@ApiModel(value = "修改服务图标和图文详情的参数类")
public class ServiceInfoPicParam {

    @NotNull(message="服务id不能为空")
    @ApiModelProperty(value = "服务id")
    private Integer infoId;

    @NotNull(message="服务图标不能为空")
    @ApiModelProperty(value = "服务图片地址")
    private String pic;
}
